package com.hjm.project.team.teamYlPolicy.mapper;

import java.util.List;
import com.hjm.project.team.teamYlPolicy.domain.TeamYlPolicy;

/**
 * 团队政策中间Mapper接口
 * 
 * @author maker-platform
 * @date 2021-04-11
 */
public interface TeamYlPolicyMapper 
{
    /**
     * 查询团队政策中间
     * 
     * @param id 团队政策中间ID
     * @return 团队政策中间
     */
    public TeamYlPolicy selectTeamYlPolicyById(Integer id);

    /**
     * 查询团队政策中间列表
     * 
     * @param teamYlPolicy 团队政策中间
     * @return 团队政策中间集合
     */
    public List<TeamYlPolicy> selectTeamYlPolicyList(TeamYlPolicy teamYlPolicy);

    /**
     * 新增团队政策中间
     * 
     * @param teamYlPolicy 团队政策中间
     * @return 结果
     */
    public int insertTeamYlPolicy(TeamYlPolicy teamYlPolicy);

    /**
     * 修改团队政策中间
     * 
     * @param teamYlPolicy 团队政策中间
     * @return 结果
     */
    public int updateTeamYlPolicy(TeamYlPolicy teamYlPolicy);

    /**
     * 删除团队政策中间
     * 
     * @param id 团队政策中间ID
     * @return 结果
     */
    public int deleteTeamYlPolicyById(Integer id);

    /**
     * 批量删除团队政策中间
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTeamYlPolicyByIds(String[] ids);
}
